Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

OpenPype: fix Docker build on Linux #2004

Closed
wants to merge 7 commits into from
Closed

Conversation

antirotor
Copy link
Member

@antirotor antirotor commented Sep 9, 2021

This PR is changing few things how OpenPype is built using Docker.

  • cx_freeze is upgraded to 6.7 and pointed to our fork where we are fixing issue with not resolved relative paths.
  • Main Dockerfile is changed to use modern Debian as base image. Original Dockerfile with Centos 7 was renamed to Dockerfile.centos7 and changes in docker_build.sh script allow to add centos7 as argument to it to automatically switch between those Dockerfiles:
./tools/docker_build.sh

will build Debian version and:

./tools/docker_build.sh centos7

will use Dockerfile.centos7 and Centos 7 as base image.

📔 Note: This PR is still missing wheel of patched cx_freeze for macOs Big Sur

@antirotor antirotor self-assigned this Sep 9, 2021
@antirotor antirotor marked this pull request as ready for review September 10, 2021 08:08
@64qam
Copy link
Member

64qam commented Sep 14, 2021

Centos build that was created from Docker file on Ubuntu and runs on Centos 7.9:

./openpype_console: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./openpype_console)
./openpype_console: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./openpype_console)
./openpype_console: /lib64/libc.so.6: version `GLIBC_2.26' not found (required by ./openpype_console)
./openpype_console: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./openpype_console)
./openpype_console: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./openpype_console)
./openpype_console: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./openpype_console)

@antirotor
Copy link
Member Author

I've removed devtoolset-7 and that should solve it.

@antirotor
Copy link
Member Author

merged into #1744 and resolution is continuing there

@antirotor antirotor closed this Oct 5, 2021
@antirotor antirotor deleted the bugfix/linux-build branch December 8, 2021 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants